package cn.whit.blog.domain;

import java.util.Date;

public class User {
	
	private String id;
	
	//名称，
	private String name;
	 
	//头像，
	private String icon;
	//状态 0  新注册 1 正常 2 禁用 3 删除
	private int status; 
	//备注，
	private String memo;
	//注册日期，
	private Date regDateTime;
	//出生日期，
	private Date birthday;
		
	//电子邮件，
	private String email;
	//手机号码，
	private String phone;
	
	//密码
	private String password;
	
	//用户组id 
	private String groupid ;
	
	//邮箱激活码
	private String activecode;
	
	
	public String getActivecode() {
		return activecode;
	}

	public void setActivecode(String activecode) {
		this.activecode = activecode;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getRegDateTime() {
		return regDateTime;
	}

	public void setRegDateTime(Date regDateTime) {
		this.regDateTime = regDateTime;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	

	public String getGroupid() {
		return groupid;
	}

	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}

	

	@Override
	public String toString() {
		return name;
//		return "User [id=" + id + ", name=" + name + ", icon=" + icon + ", status=" + status + ", memo=" + memo
//				+ ", regDateTime=" + regDateTime + ", birthday=" + birthday + ", email=" + email + ", phone=" + phone
//				+ ", password=" + password + ", groupid=" + groupid + "]";
	}
	
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
}
